package main

import (
	"fmt"
)

func main() {
	var apple_str, orange_str string
	for {
		fmt.Scan(&apple_str, &orange_str)
		fmt.Println(apple_str)
		fmt.Println(orange_str)
	}
}
